const defaultState = {
  praiseList: [],
  pullList:[]
}
const reducer = (state = defaultState, action) => {
  switch (action.type) {
    case "praise":
      return {
        ...state,
        praiseList: action.praiseList
      }
    case "pull":
      return {
        ...state,
        pullList: action.pullList
      }
    default:
      return state;
  }

}
export default reducer;